package cl.gob.minvu.catastromobile.entities;

import cl.gob.minvu.catastromobile.util.GenericUtil;

/**
 * @author psep
 *
 */
public class Persona {
	
	public int run;
	public char dv;
	public String nombres;
	public String apellidoPaterno;
	public String apellidoMaterno;
	
	/**
	 * @param runStr
	 * @param dv
	 */
	public void loadRunCompleto(String runStr, String dv){
		this.run = GenericUtil.stringToInt(runStr);
		this.dv = dv.toCharArray()[0];
	}

}
